079 timers
你好,在这个视频中,我们将学习七到下层的计时器,如果你想听到我们计时器上的 T 六到四之间的 T 零,这是计时器一和 T 之间的累积或剩余计时器一毫秒四、六到五,定时器六到八。
Hello, in this video, we are going to learn timer's in a seven to underclasses, if you look to hear T zero between six to four for the T on our timer, this is the accumulative or remain timer one millisecond between timer one and T four and six to five and timer six to eight.
T三十一和计时器六到九、九到五之间的一百毫秒之间是十毫秒和五毫秒。
It is ten millisecond and T five between T thirty one and timer six to nine and nine to five between one hundred milliseconds.
还为 T 上..
Also for the T on a..
抱歉,我们可以使用关闭定时器,例如一毫秒定时器。
Off timer we can use for example for one millisecond timer I'm sorry.
一百毫秒定时器我们可以使用定时器三十七到三六十三之间。
One hundred millisecond timer we can use timer thirty seven n between thirty sixty three.
好的,这是表格,但这并不重要。
OK, this is the table but it does not matter.
让我们首先来看我们的程序。
Let's go to first of all our program.
我想在这里添加一位逻辑,这是我们的输入,该输入将是输入零点零,然后我将进入计时器区域。
I want to add here one bit logic and this is our input and this input is going to be the input zero point zero and then I will go to timers area.
好的,现在使用定时器二。
OK, t on timer two here.
假设 T 三十七和。
Let's say T thirty seven and.
这是一秒,或者说是五秒,所以您可以看到这里是 50 秒,开球时间是 50 秒。
So this is one second or let's say five second so you can see it is 50 here and tee time.
三十七。
Thirty seven.
如果我把你的值归零,你会看到问号。
If I put your to zero, you can see question sign.
好的,你们五个。
OK to you five.
你也可以看看我是否像这样在我们的计时器上把它卖给这里。
You can also see if I sell it to here on our timer like this.
如果我将年份设为零,您可以看到它是一毫秒。
If I put the year zero you can see it is one millisecond.
好的,这里是一千。
OK, and here one thousand.
所以在这里我想再次添加一位逻辑并输入零点一。
So again in here I want to add one more bit logic and input zero point one.
这可以是五千,这是剩余的累计时间。
And this can be five thousand and this is the accumulative time will remain.
这是第一件事。
This is the first thing.
定时器,好的,在这里我可以选择三十七、一百毫秒和五秒,然后我们能做什么呢?
The timer, OK, and in here I can select the thirty seven, one hundred milliseconds and five seconds and then what can we do?
如果我们可以从这里继续。
We can continue from here if.
定时器 37 处于活动状态并且也下降到零点。
Timer 37 is active and down to zero point zero and also.
这次,T 零处于活动状态,我们可以到达零点一,好的,文件导出此文件和文本文件,我想说好的,然后编程并加载程序以及所有这些。
This time, T zero is active and we can get to zero point one, OK, file export this file and text file and I want to say OK, and program and load program and all of them.
从试射开始就OK了,我们已经准备好了,这是我们的项目和计划。
From test fire and OK, and we are ready, this is our project and program that we.
正确的。
Right.
好的,让我们开始心肺复苏。
OK, let's start our CPR.
那么如果我激活输入零点零,五秒后会发生什么?
So if I activate input zero point zero, what will happen five seconds later?
我们将得到一个输出提示零点零激活以及二、三、四和五。
We will get an output cue zero point zero activated and two and three and four and five.
现在提示零点零。
And now cue zero point zero.
必须处于活动状态,但未激活。
Must be active, but it is not activated.
为什么?
Why?
我们需要检查一下我们的项目,并且让我们测试一次到零点一。
We need to take a look once to our project and also let's test once to zero point one.
现在,这是活动的,这是在我们的计时器上,它会活动还是不活动?
Now, this is active, this is on our timer, and will it be active or not?
我们需要检查一次。
We need to check once.
OK,这就是我们的CPU被激活了,我们到这里吧,好吗?
OK, this is our CPU is activated and let's go to here, OK?
这是输入,这是计时器和 50。
This is input and this is timer and 50.
这是我们的高峰时间,好吧,五千毫秒。
This is our peak time and OK, five thousand millisecond.
这样就可以正确地和定时器了。
This is OK correctly and timer.
三十七.
Thirty seven a.
零。
zero.
好吧,好吧,现在我想要进入我的模拟器,一旦停止我就想停止并再次运行这个模拟器。
OK, and OK, now I want to go to my simulator and I want to stop once I get stopped and again run this simulator.
OK,暂时是运行情况,运行好了,这个输入这个输入。
OK, it is a run situation for a moment, and it's run and OK, this input and this is input.
和。
And.
现在,我们可以检查一下,嗯,15,乘以一百毫秒,它一定是五千毫秒。
Now, we can check once this is, um, 15, multiply away by one hundred millisecond, it must be five thousand millisecond.
好的,我们在这里也只是等待五秒钟。
OK, and also here we are waiting just to wait just five seconds.
但这里有些不对劲。
But something is wrong in here.
我们等了50秒。
We are waiting 50 seconds.
所以也许我们需要去这里,我们需要说这是。
So maybe we need to go to here and we need to say this is.
五,这是五百,归档并导出该文件,也许我们的模拟器有问题,好的,程序。
Five, and this is five hundred and file and export this file, maybe this is something wrong with our simulator, OK, and program.
停下来。
Stop it.
程序又不是程序,是的,我想了解一个新程序。
Program and not program and yes, I want to know a new one.
证人。
Testifier.
我想做这两个。
I want to make this two of.
又一站,但没有。
Another stop, but no.
运行模式。
Run mode.
好的。
OK.
不是状态表,这是运行的,好吗?
Not a state table, which is run, OK?
好的,我们被激活了,好的,现在这个输入是高的,二、三、四、五,好的。
OK, we are activated and OK, now this input is high and two and three and four and five, OK.
这次 37 被激活,我们有一个输出,您可以在此处看到。
Thirty seven this time was activated and we have an output you can see in here.
所以我们也有一个输出。
So we have an output also.
让我们激活零点一。
Let's activate zero point one.
所以停止。
So stop.
你会看到它是累积的。
And you see it is accumulative.
如果我激活输入零点零,则为零。
If I d activate input zero point zero this is zero.
好吧,这不是合法的或剩余的时间。
OK, this is not legit or remain time.
所以这被限制为零。
So this is restricted to zero.
但现在你可以在这里查看检查。
But now you can see check here.
好的,零点一,这是鲁曼时间。
OK, zero point one and this is Roumain time.
好的,如果我激活这个输入,它就会不断增加,直到五百零五秒后我们才会有一个输出。
OK, and if I activate this input it is increasing, increasing and till five hundred and five seconds later we have an output.
好的,如果我决定等待,你可以看到它仍然是内存或者这个计时器有一个值。
OK, if I decide to wait, you can see it is still um the memory or this timer has a value.
因此,我们需要在该计时器关闭后重置,或者如果您想为此输出设置计时器,我们需要重置它。
So we need to reset after, uh, this timer goes off or if you want to set the timer for this output and we need to reset it.
而现在,它仍然在继续。
And now again, it is still continuing.
还有这一次,只是对计时器再进行一次测试,也许我们需要看一次来开球计时器,呃,在我完成这个视频并输入零点二之前,好吧。
And also this one again, just one more test for the timer and maybe we need to take a look once to tee off timer, uh, before I finish this video and input zero point two, OK.
这样,开球的时候这里就会突然变成主动,直到这个时候,比如这样38,又5,会发生什么?
Like this and tee off time here will be an active active suddenly till this time, for example, the 38 like this and five again, and what will happen?
出价逻辑或类似的形式。
Bid logic or a form like this.
好的,还有一个四,为什么我看不到我们的输出线圈和。
OK, and also a four and why can't I see our output coil and.
例如。
For example.
问零点五分三十八分。
Q zero point five and thirty eight.
好吧,会发生什么?
Okay, what will happen?
当我启动造船厂五秒钟时,此功能将被激活。
This will be active when I start the shipyard for five second.
五秒钟后,该计时器将打开,输出将变为“OK”,文件将再次导出。
After five seconds this timer will be on and this output will be go of OK and the file and again, export.
试火并对模拟器说“是”,嗯,主啊,这场火。
And test fire and say yes and to the simulator, um, lord, this fire.
是的,接受并测试火就OK了,现在你可以在这里看到定时器38并检查一次。
Yes, and accept and test fire and OK, now you can see timer 38 in here and check once.
这里是什么?
What is it here?
让我们再次开始,我将开始我的 CPA,而不是可执行指令。
Let's start once again, I will start my CPA and not executable instructions.
让我们来看看。
Let's take a look.
怎么了?
What's wrong?
TLC 停止。
TLC stopped.
那么让我们进入这个区域并编译所有项目。
So let's go to this area and compile all project.
没有错误也没有错误。
There is no error and no error.
没有错误。
There is no error.
这是正确的。
That's correct.
还有你的计时器和输入。
And your timer and input and.
好的,计时器。
OK, timer.
嗯,我们到这里来看看定时器,我们就可以使用它了。
Um, let's go to here t of timer and we can use it.
没有。
There is no.
为之封锁。
Blocked for it.
又会发生什么,输入。
And what will happen again, input.
P.L.C.
P.L.C.
38. 止损施工位置
position in stop construction of 38.
让我们看看我正在寻找并且我也在圣这里寻找。
Let's take a look once I am looking and I am searching also here in St..
再次。
Again.
保存文件并导出该文件并归档,好的,是的,然后再次程序和批次程序,是的和测试文件。
Save file and export this file and file a well, OK, and yes, and again program and lot program and yes and test file.
我想在这里看到气候38,可以,输入零点二然后开始。
I want to see Climate 38 in here, it's OK, input zero point two and start.
不允许按时开始或开球,但如果我此时输入零点或突然给出输出,并且该输出将仅激活五分钟或我们给出的时间,这并不重要此功能然后开球时间。
It is not allowing to start this time on time or tee off, but it doesn't matter if I activities input zero point to this time or will given output suddenly and this output will be active just for five minutes or this time that we give this function and then tee off time.
五秒后完成,五秒后计时器上的输出将为 40。
It's finished after five seconds and after five seconds this output will be of 40 on timer.
五秒后我们正在做什么,五秒后我们有一个输出 40 关闭计时器。
What we are doing after five seconds we have an output 40 off timer after five seconds.
我们没有输出或者没有输出。
We have not output or there is no output.
好的,我已经完成这个视频了。
OK, I have finished for this video.
下一个视频见。
See you in the next video.